package cn.main.service;

import cn.main.core.UserSession;
import cn.main.entity.sys.SysColumn;
import cn.main.entity.sys.SysFunction;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Author: chengwei
 * Date:   2016/7/13
 * Time:   11:34
 */
public interface FunctionService {

    void saveOrUpdateFunction(UserSession session, SysFunction function);

    void deleteFunction(UserSession session,String functionId);

    SysFunction findFunctionById(UserSession session,String functionId);

    List<SysFunction> getFunctionList(UserSession session);

    List<SysFunction> getFunctionList(String columnId);
}
